package com.pactera.madp.cp.api.feign;

import com.pactera.madp.common.core.constant.SecurityConstants;
import com.pactera.madp.common.core.constant.ServiceNameConstants;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author zkd
 * @date 2022/5/21 15:40
 */
@FeignClient(contextId = "remoteMarketingEventRemindService", value = ServiceNameConstants.CP_SERVICE)
public interface RemoteMarketingEventRemindService {

    /**
     * 远程调用-营销事件提醒消息发送
     * @param from
     */
    @PostMapping("/employee-marketing-event-remind/send-msg")
    void sendMarketingEventRemindMsg(@RequestHeader(SecurityConstants.FROM) String from);
}
